const {app,assert} = require('egg-mock/bootstrap');
describe('test\service\news.test.js',()=>{
    it('list',async ()=>{
        let ctx = app.mockContext();
        let result = await ctx.service.news.list();
        assert(result.length == 5);
    });
});